package com.example.smartcommunity;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

public class YezhuzizhiActivity extends AppCompatActivity {
    private ImageView iv_gsgg;
    private ImageView iv_hhb;
    private  ImageView iv_back;
    private TextView tv_zzwg;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_yezhuzizhi);

        tv_zzwg=findViewById(R.id.tv_zzwg);
        iv_back=findViewById(R.id.iv_back);
        iv_hhb = findViewById(R.id.iv_hhb);
        iv_gsgg = findViewById(R.id.iv_gsgg);
        iv_gsgg.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(YezhuzizhiActivity.this,GongshigonggaoActivity.class);
                startActivity(intent);
            }
        });
        iv_hhb.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(YezhuzizhiActivity.this,HongheiActivity.class);
                startActivity(intent);
            }
        });
        iv_back.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(YezhuzizhiActivity.this,MainActivity.class);
                startActivity(intent);
            }
        });
        tv_zzwg.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(YezhuzizhiActivity.this,ZzwgActivity.class);
                startActivity(intent);
            }
        });
    }
}
